package com.hz.house.enums;

/**
 *用户等级枚举
 **/
public enum CustomerLevelEnum {
    /**
     * 签到加经验
     */
    one("Lv1", 1, 100),
    /**
     * 回答问题加经验
     */
    two("Lv2", 2, 500),
    /**
     * 发帖加经验
     */
    three("Lv3", 3, 1400),
    /**
     * 评论加经验
     */
    four("Lv4", 4, 3000),
    /**
     * 评论加经验
     */
    five("Lv5", 5, 5500),
    /**
     * 评论加经验
     */
    six("Lv6", 6, 8100),
    /**
     * 评论加经验
     */
    seven("Lv7", 7, (int) Double.POSITIVE_INFINITY);

    private String name;
    private Integer level;
    private Integer xp;

    CustomerLevelEnum(String name, int level, int xp) {
        this.name = name;
        this.level = level;
        this.xp = xp;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public int getXp() {
        return xp;
    }

    public void setXp(int xp) {
        this.xp = xp;
    }

}
